export const Server = {
  endpoint: import.meta.env.VITE_APP_ENDPOINT,
  project: import.meta.env.VITE_APP_PROJECT,
  databaseID: import.meta.env.VITE_APP_DATABASE_ID,
  collection_accountID: '650695813d9cc62ee837',
  collection_sub_adminID: '65074c3055240c013cc4',
  collection_activityId: '650ea5723b8d9f342e81',
  collection_partyId: '65102385a3e45c99727d',
  collection_partyKnowledgeId: '6510624740ffa443847e',
  BUCKET_ID: '650ebf1ee7c1956c328e',
}

export const PreviewUrl = (id) => {
  return `${Server.endpoint}/storage/buckets/650ebf1ee7c1956c328e/files/${id}/view?project=64feca642af69d01778f`
}
